package com.bw.liuyushan.zhuangao4_weektest2.DaoSQL;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;

/**
 * ZhuanGao4_WeekTest2
 * file name is : Video
 * created by Ender on 2021/8/25 16:39.
 * author : 刘雨杉
 * Describe(作用):
 */
@Entity
public class Video {
    @Id(autoincrement = true)
    private Long id;
    private String title;
    private String videopath;
    private double price=0;

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    @Generated(hash = 1990874588)
    public Video(Long id, String title, String videopath, double price) {
        this.id = id;
        this.title = title;
        this.videopath = videopath;
        this.price = price;
    }

    @Generated(hash = 237528154)
    public Video() {
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getTitle() {
        return this.title;
    }
    public void setTitle(String title) {
        this.title = title;
    }
    public String getVideopath() {
        return this.videopath;
    }
    public void setVideopath(String videopath) {
        this.videopath = videopath;
    }
}
